Skip to content

[tests] migrate group offloading tests to pytest#13234

Merged
sayakpaul merged 8 commits into
mainfrom
group-offloading-pytest
Jun 2, 2026
Merged

[tests] migrate group offloading tests to pytest#13234
sayakpaul merged 8 commits into
mainfrom
group-offloading-pytest

Conversation

@sayakpaul
Copy link
Copy Markdown
Member

No description provided.

@sayakpaul sayakpaul requested a review from DN6 March 9, 2026 13:21
@github-actions github-actions Bot added tests size/M PR with diff < 200 LOC labels May 1, 2026
@sayakpaul sayakpaul requested a review from dg845 May 20, 2026 10:27
Copy link
Copy Markdown
Collaborator

@dg845 dg845 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I get the following test failures when testing locally:

  1. TestGroupOffload
    1. test_warning_logged_if_group_offloaded_module_moved_to_accelerator
    2. test_warning_logged_if_group_offloaded_pipe_moved_to_accelerator
  2. TestConditionalModuleGroupOffload
    1. test_warning_logged_if_group_offloaded_module_moved_to_accelerator
    2. test_warning_logged_if_group_offloaded_pipe_moved_to_accelerator

I think this might be due to the fact that the two tests above use a caplog argument, but no caplog fixture is defined in the file.

@sayakpaul
Copy link
Copy Markdown
Member Author

@dg845 thanks for the review! I have fixed the issue. Also, as an FYI, caplog is a built-in pytest fixture — it doesn't need to be defined in the file.

Copy link
Copy Markdown
Collaborator

@dg845 dg845 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sayakpaul sayakpaul merged commit 2fa9b93 into main Jun 2, 2026
13 of 14 checks passed
@sayakpaul sayakpaul deleted the group-offloading-pytest branch June 2, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M PR with diff < 200 LOC tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants